<h1>Управление подписчиками</h1>
<div style="width: 100%">
	<div class="table_body">
	<table class="text" >
		<tr>
			<th>ID</th>
			<th>Полное имя</th>
			<th>E-mail</th>
			<th class="operations">&nbsp;</th>
		</tr>
		{foreach item=Subscriber from=$Subscribers}
		<tr>
			<th>{$Subscriber->getPk()}</th>
    		<td>{$Subscriber->full_name}</td>
			<td><a href="mailto:{$Subscriber->email}" class="link">{$Subscriber->email}</a></td>
    		<td class="mixed">
        			<A href="{$fvConfig->get('dir_web_root')}subscribers/edit/?id={$Subscriber->getPk()}" onclick="go('{$fvConfig->get('dir_web_root')}subscribers/edit/?id={$Subscriber->getPk()}'); return false;">
        					<img src="{$fvConfig->get('dir_web_root')}img/edit_icon.png" title="редактировать" width="16" height="16">
					</a>
					<a href="javascript: void(0);" onclick="if (confirm('Вы действительно желаете удалить подписчика?')) go('{$fvConfig->get('dir_web_root')}subscribers/delete/?id={$Subscriber->getPk()}'); return false;">
							<img src="{$fvConfig->get('dir_web_root')}img/delete_icon.png" title="удалить" width="16" height="16">
					</a>
	   		</td>
		</tr>
		{/foreach}
	</table>
	</div>
	{if $Subscribers->hasPaginate()}
		<div id="subscribers_paging" class="paging">
			{$Subscribers->showPager()}
			{literal}
			<script>
	    		new Pager("subscribers_paging");
			</script>
			{/literal}
		</div>
	{/if}
	<div class="operation">
	    <a href="{$fvConfig->get('dir_web_root')}subscribers/edit/" onclick="go('{$fvConfig->get('dir_web_root')}subscribers/edit/'); return false;" class="add">добавить</a>
	    <div style="clear: both;"></div>
	</div>
</div>